home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MODULES / MEMALLOC.ZIP / !Help next >
Text File  |  1997-03-04  |  2KB  |  48 lines

  1. MemAlloc II - Replacement module for the buggy "MemAlloc"
  2. © 1997 by Christian Kohlschütter (wombat@hof.baynet.de)
  3.  
  4. This module is FREEWARE - All rights remain at the author
  5. You may use this module in your own applications.
  6.  
  7. No code from the original MemAlloc util was used.
  8. MemAlloc II just emulates MemAlloc's system commands.
  9. It's even less than half the size of the original code.
  10.  
  11.  
  12. MemAlloc II implements the following commands:
  13.  
  14. *SystemSize <size in Kbytes> [<command>]
  15. *RMASize <size in Kbytes> [<command>]
  16. *ScreenSize <size in Kbytes> [<command>]
  17. *SpriteSize <size in Kbytes> [<command>]
  18. *FontSize <size in Kbytes> [<command>]
  19. *RAMSize <size in Kbytes> [<command>]
  20.  
  21. *RMAFree <size in Kbytes> [<command>]
  22. *SpriteFree <size in Kbytes> [<command>]
  23. *FontFree <size in Kbytes> [<command>]
  24.  
  25.  
  26. SystemSize, RMASize, ScreenSize... set the amount of allocated
  27. memory for the specific dynamic area (System area, Module area,
  28. Sprite area etc.) in Kbytes. MemAlloc will try to reduce the free
  29. memory in that area as far as possible. "*RMASize 0", for example,
  30. would tidy the RMA (=Module area) a bit, without destroying any
  31. contents.
  32.  
  33. RMAFree, SpriteFree and FontFree set the amount of free memory
  34. for the specific dynamic area (Module area, Sprite area and Font
  35. Cache) in Kbytes. MemAlloc reduces the area to its minimum first
  36. and allocates the given amount of memory after that. So, it
  37. ensures that there is enough unused memory left in the specific
  38. area.
  39.  
  40. If the amount of memory needed is too big, a standard error
  41. message will appear; or if the optional *-command is given
  42. the command is executed instead.
  43.  
  44. "ScreenSize 160k Error Change to Mode 15 and run again" will
  45. only give an error message if there is really no more usable
  46. memory left. The original MemAlloc reports an error even if
  47. there was more than 160k in the screen area.
  48.